# def upload from forum.sensebox.de
def upload_osm(sensor_id,value):
	url="https://ingress.opensensemap.org/boxes/%s/%s" % (sensebox_id,sensor_id)
	r = requests.post(url,json={'value': value})
	if r.status_code != requests.codes.ok:
		print("Error %d: %s" % (r.status_code,r.text))
# end upload osm
